
def  area_deal(str):
    resultList=['','']
    str = str.strip()
    list = str.split(" ")
    if len(list) >=2 :
        resultList[0] = list[0]
        resultList[1] = list[1]
    else:
        resultList[0] = str
    return resultList


def salary_deal(str):
    resultList = ['', '']
    list = str.strip().split("-")
    if len(list) == 2:
        resultList[0] = int(list[0].replace("k", "").replace("K", ""))*1000
        resultList[1] = int(list[1].replace("k", "").replace("K", ""))*1000
    else:
        resultList[0] = str
    return resultList